﻿using Heima.OA.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Heima.OA.IBLL
{
    public partial interface IZS_DeclareInfoService : IBaseService<ZS_DeclareInfo>
    {
        bool AddDeclareJointApplicant(int declareId, string[] memberIds);
        /// <summary>
        /// 废弃
        /// </summary>
        /// <param name="declareId"></param>
        /// <param name="houseIds"></param>
        /// <returns></returns>
        bool UpdateDeclareHouse(int declareId, string[] houseIds);
        bool AddDeclareHouse(int declareId, int buildingId, List<ZS_HouseInfo> houseList);
        IEnumerable<DeclareView> GetPageEntities(int pageSize, int pageIndex, out int total, string where, string order);
        object GetEditModel(ZS_DeclareInfo declareModel);
        bool DeclareTransferCheck();
        object BuildingDeclareInfo(int id);

    }
    [Serializable]
    public class DeclareView:ZS_DeclareInfo
    {
        public int RegisterNumber { get; set; }
        public string BuildingName { get; set; }
        public int num { get; set; }
    }

}
